package org.packtracker.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Package implements IsSerializable {
    private Long Id;
    
    private String trackingId;

    private String mailRecipient;

    private String tracker;

    private String trackerUrl;

    private Date creationDate;

    private String lastStatus;
    
    public Package() {}
    
    public Package(String trackingId, String mailRecipient, String tracker, Date creationDate) {
        this.trackingId = trackingId;
        this.mailRecipient = mailRecipient;
        this.tracker = tracker;
        this.creationDate = new Date();
    }

	public String getTrackingId() {
		return trackingId;
	}

	public void setTrackingId(String trackingId) {
		this.trackingId = trackingId;
	}

	public String getMailRecipient() {
		return mailRecipient;
	}

	public void setMailRecipient(String mailRecipient) {
		this.mailRecipient = mailRecipient;
	}

	public Long getId() {
		return Id;
	}

	public void setId(Long id) {
		Id = id;
	}

	public String getLastStatus() {
		return lastStatus;
	}

	public void setLastStatus(String lastStatus) {
		this.lastStatus = lastStatus;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public String getTracker() {
		return tracker;
	}

	public void setTracker(String tracker) {
		this.tracker = tracker;
	}

	public String getTrackerUrl() {
		return trackerUrl;
	}

	public void setTrackerUrl(String trackerUrl) {
		this.trackerUrl = trackerUrl;
	}

}
